package io.renren.com.qywt.service;

import io.renren.com.qywt.dto.AftersaleProdDetailDTO;
import io.renren.com.qywt.entity.AftersaleProdDetailEntity;
import io.renren.commons.mybatis.service.CrudService;

import java.util.List;

/**
 * 错发/少发明细表
 *
 * @author jiaohj 15110414840@139.com
 * @since 3.0 2022-08-25
 */
public interface AftersaleProdDetailService extends CrudService<AftersaleProdDetailEntity, AftersaleProdDetailDTO> {
    List<AftersaleProdDetailDTO> getByWorkOrderId(Long workOrderId);
    void deleteByWorkOrderId(Long workOrderId);
    void addProdDetails(List<AftersaleProdDetailDTO> prodDetails);
}